# Maintainer: Bruno Pagani <archange@archlinux.org>

pkgname=webp-pixbuf-loader
pkgver=0.2.4
pkgrel=1
pkgdesc="WebM GDK Pixbuf Loader library"
arch=(loong64 x86_64)
url="https://github.com/aruiz/webp-pixbuf-loader"
license=(LGPL)
depends=(gdk-pixbuf2 libwebp)
makedepends=(meson)
source=(${url}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
sha256sums=('54f448383d1c384409bd1690cdde9b44535c346855902e29bd37a18a7237c547')

build() {
  arch-meson ${pkgname}-${pkgver} build
  ninja -C build
}

package() {
  DESTDIR="${pkgdir}" ninja -C build install
}
